package com.sample.seata.service;

/**
 * 商品 Service
 */
public interface UserService {

    /**
     * 扣减库存
     *
     * @param userId 用户 ID
     * @throws Exception 扣减失败时抛出异常
     */
    void validUser(Long userId) throws Exception;

}
